home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-01 | 705 b | 37 lines | [TEXT/R*ch] |
- /*====================================================================
- Sample 5.def ©1996 Yosuke "Basuke" Suzuki.
-
- Simple button based on tbPopupButton.
- It displays simple popup when tapping,
- and display another popup when holding the pen on it.
- ====================================================================*/
-
- partData := {
- //
- // Actual button is defined in afterscript of "Sample 5.t"
- //
- };
-
-
- InstallScript := func(partFrame,removeFrame)
- begin
-
- //
- // register button
- //
-
- call kRegTapBarButtonFunc with (kAppSymbol, partFrame.partData.button);
- end;
-
-
- RemoveScript := func(removeFrame)
- begin
-
- //
- // unregister button
- //
-
- call kUnRegTapBarButtonFunc with (kAppSymbol);
- end;
-
-